#define  _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>

int main()
{
	//char arr1[100] = "abcd";
	//char arr2[] = "efgh";
	//char* str=strcpy(arr1, arr2);
	//printf("%s", str);

	//char* str = strncpy(arr1, arr2, 3);
	//printf("%s", str);

	//char* str = strcat(arr1, arr2);
	//printf("%s", str);

	//char* str = strncat(arr1, arr2,2);
	//printf("%s", str);

	char arr3[] = "hello@world.yes";
	char dest[200] = { 0 };
	strcpy(dest, arr3);
	char* arr4 = "@.";
	char* ret = NULL;
	for (ret=strtok(dest, arr4); ret != NULL; ret=strtok(NULL, arr4))
	{
		printf("%s\n", ret);
	}
	return 0;
}